package com.tzy.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.tzy.dao.OrderMasterMapper;
import com.tzy.entity.OrderMaster;
import com.tzy.entity.User;

/**
* <p>Title: OrderMasterServiceImpl</p> 
* <p>Description: </p> 
* @author  唐振耀 
* @date  2019年5月31日
*/
@Service
@Transactional
public class OrderMasterServiceImpl implements OrderMasterService{
	@Autowired
	private OrderMasterMapper om;

	@Override
	public List<OrderMaster> selectOrderDetailAndOrderMasterByOrder_id(Integer user_id) {
		return this.om.selectOrderDetailAndOrderMasterByOrder_id(user_id);
	}

}
